<template>
    <div>
        {{ oldArr }}
        {{ newArr }}
    </div>
</template>

<script setup>
import { ref, computed } from 'vue';
const oldArr = ref([1, 23, 4, 23, 53, 66])
const newArr = computed(() => {
   return oldArr.value.filter(item => {
        return item > 10
    })
})

</script>

<style  scoped>

</style>